//
//  JOTabBar.h
//  网易彩票
//
//  Created by song on 15/2/7.
//  Copyright (c) 2015年 song. All rights reserved.
//

#import <UIKit/UIKit.h>

@class JOTabBar;

@protocol JOTabBarDelegate <NSObject>

@optional
-(void)tabBar:(JOTabBar *)tabBar didSelectItemFrom:(int)from to:(int)to;

@end


@interface JOTabBar : UIView

@property(nonatomic, weak) id<JOTabBarDelegate>  delegate;

-(void)addTabButtonWithName:(NSString *)name selName:(NSString *)selname;

@end
